package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class indexx_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List<String> _jspx_dependants;

  private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector;

  public java.util.List<String> getDependants() {
    return _jspx_dependants;
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

    try {
      response.setContentType("text/html;charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;
      _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector");

      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("<!DOCTYPE html>\n");

    int crearUsuario = request.getAttribute("logueo") == null ? -1 : Integer.parseInt(request.getAttribute("logueo").toString());
    System.out.print("oooooooooooooooooooooooo"+crearUsuario);

      out.write("\n");
      out.write("<html>\n");
      out.write("    <head>\n");
      out.write("        <script type='text/javascript' src=\"//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js\"/>\n");
      out.write("        <script type=\"text/javascript\" src=\"js/jquery-1.4.2.min.js\"></script>\n");
      out.write("        <script type=\"text/javascript\" src=\"js/jquery.fixedMenu.js\"></script>\n");
      out.write("        <script type=\"text/javascript\" src=\"js/general.js\"></script>\n");
      out.write("        <link rel=\"stylesheet\" type=\"text/css\" href=\"css/fixedMenu_style2.css\" />\n");
      out.write("        <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n");
      out.write("        <script>\n");
      out.write("            $('document').ready(function() {\n");
      out.write("                $('.menu').fixedMenu();\n");
      out.write("            });\n");
      out.write("        </script>\n");
      out.write("        \n");
      out.write("        <title>Iniciar Sesión</title>\n");
      out.write("        <link rel=\"stylesheet\" href=\"css/style.css\" />\n");
      out.write("    </head>\n");
      out.write("    <body>\n");
      out.write("        <div class=\"menu\">\n");
      out.write("            <ul>\n");
      out.write("                <li>\n");
      out.write("                    <a href=\"./index.html\" >Nuestro Gimnasio<span class=\"arrow\"></span></a>\n");
      out.write("                </li>\n");
      out.write("               \n");
      out.write("                <li>\n");
      out.write("                    <a href=\"\">Registrate<span class=\"arrow\"></span></a>\n");
      out.write("                </li>\n");
      out.write("                <li>\n");
      out.write("                    <a href=\"./Contactanos.html\">Contactanos<span class=\"arrow\"></span></a>\n");
      out.write("                </li>\n");
      out.write("            </ul>\n");
      out.write("        </div>\n");
      out.write("        <div id=\"contenedorLogin\">\n");
      out.write("            <form name=\"frmIngresar\" action=\"./UsuarioServ\" method=\"POST\">\n");
      out.write("               \n");
      out.write("                ");

                    if (crearUsuario == 0) {
                
      out.write("\n");
      out.write("                \n");
      out.write("                    <span style=\"color:#f6bd30;text-align: center\">Usuario/Constraseña Invalido</span>\n");
      out.write("               \n");
      out.write("                \n");
      out.write("                ");
 }
      out.write("\n");
      out.write("                \n");
      out.write("                <input style=\"margin: 23px; padding: 2px; position:absolute;\" type=\"hidden\" name=\"accion\" id=\"accion\" value=\"0\" /><br /><p style=\"color: black;margin: -11px;left: 181px;position: absolute;font-size: 16px;\">Usuario:</p> <br/>\n");
      out.write("                <input  style=\"color: black; margin: -13px;padding: 3px;width: 151px;position: absolute;left: 131px;\" type=\"text\" name=\"Identificacion\" id=\"Identificacion\" /><br/> <p style=\"color: black;margin: -5px;left: 170px;position: absolute;font-size: 16px;\">Contraseña:</p><br/>\n");
      out.write("                <input  style=\"padding: 3px;width: 151px;position: absolute;left: 119px;\" type=\"password\" name=\"Password\" id=\"Password\"/><br/>\n");
      out.write("                <input style=\"margin: 50px;padding: 3px;width: 82px;height: 26px;left: 100px;position: absolute;\" type=\"submit\" value=\"Ingresar\"  class=\"button white\"/>\n");
      out.write("\n");
      out.write("                \n");
      out.write("                 \n");
      out.write("                <p style=\"margin: -75px; padding: 2px;\"/><br /><a style=\"color: black;margin: 67px;left: 58px;position: absolute;font-size: 14px;\"href=\"#\"> A olvidado su contraseña</a><br/>\n");
      out.write("            </form>\n");
      out.write("            <img src=\"imagenes/icono2.png\" style=\"width: 112px;height: 122px;margin: -22px;position: absolute;left: 25px; \"/>\n");
      out.write("        </div>\n");
      out.write("        <img src=\"imagenes/Inicio.jpg\" style=\"width: 100%;height: 100%; \"/>\n");
      out.write("    </body>\n");
      out.write("</html>\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
